<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "company_info_sg".
 *
 * @property int $id
 * @property string $name
 * @property string $voltage_level
 * @property string $service_type
 * @property int $status
 * @property int $created_at
 */
class CompanyInfoSg extends Base
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'company_info_sg';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['voltage_level', 'service_type'], 'string'],
            [['status', 'created_at'], 'integer'],
            [['name'], 'string', 'max' => 255],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'name' => 'Name',
            'voltage_level' => 'Voltage Level',
            'service_type' => 'Service Type',
            'status' => 'Status',
            'created_at' => 'Created At',
        ];
    }
}
